import request from '@/utils/request'

export function dttGetAll(searchData) {
  return request({
    url: '/services/app/Employees_regService/GetAll',
    method: 'get',
    params: searchData
  })
}

export function dttCreated(dictTypeInfo) {
  return request({
    url: '/services/app/Employees_regService/Create',
    method: 'post',
    data: dictTypeInfo
  })
}

export function del(id) {
  return request({
    url: '/services/app/Employees_regService/Delete',
    method: 'delete',
    params: {
      Id: id
    }
  })
}

export function delAll(dd) {
  return request({
    url: '/services/app/Employees_regService/Delete',
    method: 'delete',
    params: {
      Id: dd
    }
  })
}

//编辑反填
export function pagess(id) {
  return request({
    url: '/services/app/Employees_regService/Get',
    method: 'get',
    params: {
      Id: id
    }
  })
}
//修改
export function Eintyess(tableData) {
  return request({
    url: '/services/app/Employees_regService/Update',
    method: 'put',
    data: tableData
  })
}
